<div class="treeselect-container">
  <lv-tree-select
    [lvTreeData]="treeData"
    lvTreeSelectionMode="single"
    [(ngModel)]="selection"
    lvShowClear
    (ngModelChange)="onChange($event)"
    (lvExpandedChange)="expandedChange($event)"
    (lvOpenChange)="openChange($event)"
  ></lv-tree-select>
</div>

<p>Selection: {{ selection?.length ? selection[0].label : 'none' }}</p>
